﻿namespace WMS6.Web.StockCountServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="CycleCountRequestQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough]
    public class CycleCountRequestQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AreaIdEndField;
        [OptionalField]
        private string AreaIdStartField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string LocEndField;
        [OptionalField]
        private string LocLevelEndField;
        [OptionalField]
        private string LocLevelStartField;
        [OptionalField]
        private string LocStartField;
        [OptionalField]
        private string OwnerIdEndField;
        [OptionalField]
        private string OwnerIdStartField;
        [OptionalField]
        private string ReleaseIDField;
        [OptionalField]
        private string RequestIDField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string SkuIdEndField;
        [OptionalField]
        private string SkuIdStartField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;
        [OptionalField]
        private string ZoneIdEndField;
        [OptionalField]
        private string ZoneIdStartField;

        [DataMember]
        public string AreaIdEnd
        {
            get
            {
                return this.AreaIdEndField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AreaIdEndField, value))
                {
                    this.AreaIdEndField = value;
                    base.RaisePropertyChanged("AreaIdEnd");
                }
            }
        }

        [DataMember]
        public string AreaIdStart
        {
            get
            {
                return this.AreaIdStartField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AreaIdStartField, value))
                {
                    this.AreaIdStartField = value;
                    base.RaisePropertyChanged("AreaIdStart");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string LocEnd
        {
            get
            {
                return this.LocEndField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocEndField, value))
                {
                    this.LocEndField = value;
                    base.RaisePropertyChanged("LocEnd");
                }
            }
        }

        [DataMember]
        public string LocLevelEnd
        {
            get
            {
                return this.LocLevelEndField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocLevelEndField, value))
                {
                    this.LocLevelEndField = value;
                    base.RaisePropertyChanged("LocLevelEnd");
                }
            }
        }

        [DataMember]
        public string LocLevelStart
        {
            get
            {
                return this.LocLevelStartField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocLevelStartField, value))
                {
                    this.LocLevelStartField = value;
                    base.RaisePropertyChanged("LocLevelStart");
                }
            }
        }

        [DataMember]
        public string LocStart
        {
            get
            {
                return this.LocStartField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocStartField, value))
                {
                    this.LocStartField = value;
                    base.RaisePropertyChanged("LocStart");
                }
            }
        }

        [DataMember]
        public string OwnerIdEnd
        {
            get
            {
                return this.OwnerIdEndField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIdEndField, value))
                {
                    this.OwnerIdEndField = value;
                    base.RaisePropertyChanged("OwnerIdEnd");
                }
            }
        }

        [DataMember]
        public string OwnerIdStart
        {
            get
            {
                return this.OwnerIdStartField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIdStartField, value))
                {
                    this.OwnerIdStartField = value;
                    base.RaisePropertyChanged("OwnerIdStart");
                }
            }
        }

        [DataMember]
        public string ReleaseID
        {
            get
            {
                return this.ReleaseIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReleaseIDField, value))
                {
                    this.ReleaseIDField = value;
                    base.RaisePropertyChanged("ReleaseID");
                }
            }
        }

        [DataMember]
        public string RequestID
        {
            get
            {
                return this.RequestIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RequestIDField, value))
                {
                    this.RequestIDField = value;
                    base.RaisePropertyChanged("RequestID");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SkuIdEnd
        {
            get
            {
                return this.SkuIdEndField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuIdEndField, value))
                {
                    this.SkuIdEndField = value;
                    base.RaisePropertyChanged("SkuIdEnd");
                }
            }
        }

        [DataMember]
        public string SkuIdStart
        {
            get
            {
                return this.SkuIdStartField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuIdStartField, value))
                {
                    this.SkuIdStartField = value;
                    base.RaisePropertyChanged("SkuIdStart");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }

        [DataMember]
        public string ZoneIdEnd
        {
            get
            {
                return this.ZoneIdEndField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ZoneIdEndField, value))
                {
                    this.ZoneIdEndField = value;
                    base.RaisePropertyChanged("ZoneIdEnd");
                }
            }
        }

        [DataMember]
        public string ZoneIdStart
        {
            get
            {
                return this.ZoneIdStartField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ZoneIdStartField, value))
                {
                    this.ZoneIdStartField = value;
                    base.RaisePropertyChanged("ZoneIdStart");
                }
            }
        }
    }
}

